import type {ReactNode} from "react";

export type ScopeSlotProps<SlotKeys extends string, ScopeSlots extends { [k: string]: (scope: any) => any }> = {
    [k in Exclude<keyof ScopeSlots, SlotKeys>]?: (scope: Parameters<ScopeSlots[k]>[0]) => ReactNode
}
